package co.gov.medellin.ssti.sub.paoyer.administration.model.vo;

import java.io.Serializable;

public class OptionVO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 5867802378562651839L;
	private Long code;
	private String name;
	private String description;
	private String webUserCrea;
	private String webClientCrea;
	private String webUserModif;
	private String webClientModif;
	private String parameters;
	private String optionType;
	private Long order;
	private String icon;
	private Long optionCode;
	private Long programCode;
	private String fatherOptionName;
	private String parentProgramName;

	public OptionVO() {
	}

	public Long getCode() {
		return code;
	}

	public void setCode(Long newCode) {
		code = newCode;
	}

	public String getName() {
		return name;
	}

	public void setName(String newName) {
		name = newName;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String newDescription) {
		description = newDescription;
	}

	public String getWebUserCrea() {
		return webUserCrea;
	}

	public void setWebUserCrea(String newWebUserCrea) {
		webUserCrea = newWebUserCrea;
	}

	public String getWebClientCrea() {
		return webClientCrea;
	}

	public void setWebClientCrea(String newWebClientCrea) {
		webClientCrea = newWebClientCrea;
	}

	public String getWebUserModif() {
		return webUserModif;
	}

	public void setWebUserModif(String newWebUserModif) {
		webUserModif = newWebUserModif;
	}

	public String getWebClientModif() {
		return webClientModif;
	}

	public void setWebClientModif(String newWebClientModif) {
		webClientModif = newWebClientModif;
	}

	public String getParameters() {
		return parameters;
	}

	public void setParameters(String newParameters) {
		parameters = newParameters;
	}

	public String getOptionType() {
		return optionType;
	}

	public void setOptionType(String newOptionType) {
		optionType = newOptionType;
	}

	public Long getOrder() {
		return order;
	}

	public void setOrder(Long newOrder) {
		order = newOrder;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String newIcon) {
		icon = newIcon;
	}

	public Long getOptionCode() {
		return optionCode;
	}

	public void setOptionCode(Long newOptionCode) {
		if (newOptionCode != null) {
			if (newOptionCode.longValue() == 0)
				optionCode = null;
			else
				optionCode = newOptionCode;
		}
	}

	public Long getProgramCode() {
		return programCode;
	}

	public void setProgramCode(Long newProgramCode) {
		if (newProgramCode != null) {
			if (newProgramCode.longValue() == 0)
				programCode = null;
			else
				programCode = newProgramCode;
		}
	}

	public String getFatherOptionName() {
		return fatherOptionName;
	}

	public void setFatherOptionName(String newFatherOptionName) {
		fatherOptionName = newFatherOptionName;
	}

	public String getParentProgramName() {
		return parentProgramName;
	}

	public void setParentProgramName(String newParentProgramName) {
		parentProgramName = newParentProgramName;
	}

}